Depicter\Document\Models\Document B

Total Complexity 95
Dependencies 13
Dependents 2
Total lines 701
Lines of code 290
Logical lines of code 148
Comment lines 282
Methods 43
Properties 16

Methods 43

Method Rating Maintainability Complexity Lines of code
getClassNames()
A
52 10 23
getCustomCssFiles()
A
52 10 21
sortElementsByDepth()
S
57 5 18
collectAndSetFontsData()
S
59 5 14
styleGenerator()
S
62 3 12
renderForegroundElements()
S
60 3 12
getSelectorAndCssList()
S
57 2 16
getSectionNth()
S
67 3 7
getCssFileUrl()
S
67 3 9
reorderSections()
S
66 3 9
setElementsForObjects()
S
65 3 10
getStyleSelector()
S
78 2 3
getCustomStyles()
S
68 2 7
getName()
S
78 2 3
getSlug()
S
78 2 3
setElementsForOneObjects()
S
71 2 6
getCustomClassName()
S
72 2 6
setForegroundElementObjects()
S
74 2 5
getType()
S
78 2 3
getSectionsCount()
S
78 2 3
renderSectionsAndElements()
S
70 2 6
getFontsLink()
S
72 2 6
renderSymbols()
S
70 2 6
renderLoadingSymbol()
S
71 2 6
render()
S
60 1 14
getSectionById()
S
79 1 3
getOptions()
S
80 1 3
getInitScript()
S
80 1 3
getInitScriptTag()
S
78 1 3
getSections()
S
80 1 3
getProperties()
S
65 1 9
getMeta()
S
80 1 3
getSelector()
S
80 1 3
extract()
S
91 1 2
getCssId()
S
80 1 3
getInlineCssTag()
S
78 1 3
getBeforeInitCssAndTag()
S
78 1 3
getCss()
S
78 1 3
saveCss()
S
78 1 3
renderNotice()
S
76 1 4
prepare()
S
72 1 6
hydrate()
S
91 1 2
printInitScriptTag()
S
80 1 3